package moni;
public class Course {
	private int id;
	 private Object Coursename;
	 private String place;
	 private float floor;


	 public Course(String Crousename, int id, String place, int floor) {
	  this.id = id;
	  this.Coursename = "java";
	        this.place = place;
	        this.floor = floor;
	    }
	public String toString() {
	        return Coursename + "(课程名)" + "     课程编号：" + id + "   上课地点：" + place
	                + "    楼层：" + floor + "f";
	    } 
	 

	 public static void main(String[] args) {
	     Student me = new Student(12345678, "刘佳骏", "男");
	     System.out.println("学生信息");
	     System.out.println(me);
	     Teacher b = new Teacher(1, "张世博", "男", "java");
	     System.out.println("教师信息");
	     System.out.println(b);
	     Course c = new Course("java", 30, "0921", 9);
	     System.out.println("课程信息");
	     System.out.println(c);
	     me.tuike();
	     me.delete();
	 
	 }
	}
